| Method | Request URI |
|---|---|
| POST | /API/Resource/File/{id}/?projectId=value&resourceType=value&parentFolderId=value&sessionId=value |
| URI Parameter | Description |
|---|---|
| projectId | The project ID. |
| resourceType | Type of the resource. The only accepted types are Dundas.BI.ObjectType.ImageResource, Dundas.BI.ObjectType.DataResource, Dundas.BI.ObjectType.MapResource and Dundas.BI.ObjectType.DiagramResource. However if the file types are not known ahead of time then Dundas.BI.ObjectType.Unknown can be used and the type will attempt to be detected from the file extension. See Dundas.BI.ObjectType for more details. |
| parentFolderId | The parent folder's ID. |
| sessionId | The ID of the session. Specifying via an Authorization request header instead is recommended. |
| Path Parameter | Description |
|---|---|
| id | The ID of the resource if this is an update call. |
| Authorization: Bearer <Current session ID> |